#ifndef _LOG_H_
#define _LOG_H_

#include <stdio.h>

class CLog
{
private:
	static const int BUF_SIZE = 2048;
	FILE* m_file;
	char m_tmpBuf[BUF_SIZE];

	void OutputStr(char* str);
public:
	CLog();
	~CLog();

	void Error(char* fmt, ...);
	void Message(char* fmt, ...);
	void Debug(char* fmt, ...);
	void Console(char* fmt, ...);
};

#endif //_LOG_H_